package com.zyx.addressBook;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

 
public class AddressBookBkActivity extends Activity
{
	TextView tv;
	Button btBackup = null;
	Button btRmDuplicates = null;
	
    public void onCreate(Bundle savedInstanceState) 
    {
    	super.onCreate(savedInstanceState);
    	setContentView(R.layout.main);
    	btBackup = (Button)findViewById(R.id.button1);
    	btRmDuplicates = (Button)findViewById(R.id.button2);
    	btBackup.setOnClickListener(new OnClickListener(){
    		 public void onClick(View v)
    	     { 
				Intent intent = new Intent(AddressBookBkActivity.this,CMBackupActivity.class);
				startActivity(intent);
    	     }
    	});
    	btRmDuplicates.setOnClickListener(new OnClickListener(){
	   		 public void onClick(View v)
		     { 
	   			Intent intent = new Intent(AddressBookBkActivity.this,CMRemoveDupActivity.class);
				startActivity(intent);
		     }
    	});
    }
}
